home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000028_icon-group-sender _Wed Jan 24 10:20:36 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
1KB
Received: by cheltenham.cs.arizona.edu; Thu, 25 Jan 1996 16:24:24 MST
To: icon-group@cs.arizona.edu
Date: 24 Jan 1996 10:20:36 -0700
From: gmt@cs.arizona.edu (Gregg Townsend)
Message-Id: <4e5pp4$qlf@hawk.CS.Arizona.EDU>
Organization: University of Arizona CS Department, Tucson AZ
Sender: icon-group-request@cs.arizona.edu
References: <4e1038$fng@news.ccit.arizona.edu>
Subject: Re: Line continuation in $define ?
Errors-To: icon-group-errors@cs.arizona.edu
Status: O
Chris De Young <CHD@AZCC.ARIZONA.EDU> wrote:
> How do you (or can you) continue a line in a $define macro?
There's no way to do it directly, but you can do something like this:
$define part1 "..........................................................."
$define part2 "..........................................................."
$define part3 "..........................................................."
$define part4 "..........................................................."
$define part5 "..........................................................."
$define longstring (part1 || part2 || part3 || part4 || part5)
The concatenation takes place at execution time, so you won't want to use
it inside a tight loop, but other than that it should be fine.
Gregg Townsend / gmt@CS.Arizona.EDU / +1 520 621 4325 / 32 13 45N 110 57 16W
Computer Science / Univ of Arizona / 1040 E 4th St / Tucson AZ 85721-0077